home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Configuration / UPSMon 1.52 Folder / UPS Monitor Readme next >
Text File  |  1994-05-26  |  5KB  |  151 lines

  1. UPS Monitor 1.52
  2. written by Yair Elharrar, April 1994
  3.  
  4.  
  5.  
  6. UPS Monitor is a small hack, used to determine the status of a
  7. serial-connected UPS. Many UPSes come with a DB-9 serial port, which serves
  8. as a status line.
  9.  
  10. You can connect the UPS to either the modem or printer port, but be sure to
  11. wire the cable according to your needs. The Mains Fail Relay should be wired
  12. to the TxD-/RxD- pins on the Mac serial port and the Battery Low Relay should
  13. be wired to the HSKi/Ground pins on the Mac serial port (i.e. if the power
  14. fails, the TxD- and RxD- pins should contact etc.).
  15. You can use Normally-Closed relays if your UPS supports them. This is useful
  16. to test if the wire is broken etc.
  17. If you choose the Normally-Closed Power Fail option, wire your cable so that
  18. when the power fails the TxD- and RxD- pins should DISCONNECT. The same goes
  19. for the Battery Low relays.
  20.  
  21.  
  22. --
  23. To connect a TENSOR T-106B UPS, use the following wiring scheme:
  24.  
  25.     Pin on Mac Serial Port            Pin on UPS
  26.         3                    2
  27.         5                    7
  28.         2                    5
  29.         4                    8
  30.  
  31. With this wiring, both relays are normally closed.
  32.  
  33. --
  34. To connect a APC-400 UPS, use the following wiring scheme:
  35.  
  36.     Pin on Mac serial Port            Pin on UPS
  37.         3                    4
  38.         5                    6
  39.  
  40. Only the power failure relay is connected, and it's normally closed.
  41. With this wiring, use the timed automatic shutdown.
  42.  
  43. --
  44. See below for help on wiring other types of UPSes.
  45. --
  46.  
  47. UPS Monitor sends status requests to the UPS, notifies you if the system is
  48. on battery power, and shuts down your Mac automatically after a specified
  49. period of time. You can disable the automatic shutdown or the battery alert,
  50. and change the status request rate (default is one every 15 seconds).
  51.  
  52. After connecting the UPS to your Mac, run UPS Monitor and choose
  53. "Configure" from the menu. Configure it according to your needs and click
  54. OK. Put UPS Monitor in your "Startup Items" folder in the System Folder.
  55.  
  56. Suggested configuration: no automatic shutdown, 15 seconds scan interval,
  57. Logfile on, Shutdown on Battery Low on.
  58.  
  59. Use UPSMon in conjunction with Okey-Dokey, available on sumex, to automatically
  60. push the OK button in all your applications when you shut down -- this will
  61. save all your documents...
  62.  
  63.  
  64. UPS Monitor has been thoroughly tested on a IIci, a IIcx, and a Classic II, all
  65. running System 7.1. Users reported this version works on PowerMacs and Quadras
  66. just as well.
  67.  
  68.  
  69. Changes since version 1.5
  70. -------------------------
  71.  
  72. * Version 1.51 fixes a minor bug on extra-loaded systems. UPSMon 1.5 couldn't
  73.   handle more than 10 CTB ports; 1.51 is preconfigured to 15 ports and can be
  74.   configured to more ports, just change STR resource #131 with ResEdit.
  75.   If you open UPSMon and it just beeps and quit, check the log file created.
  76. * Version 1.52 fixes another minor bug which caused popup menu items to be dimmed.
  77. * UPSMon now requires a 68020, and runs nicely on PowerMacs, under emulation.
  78.  
  79. Changes since version 1.4
  80. -------------------------
  81.  
  82. * Added support for external serial ports, with peripheral cards such as
  83.   QuadraLink or Hurdler. In general, UPS Monitor is CTB-aware and will recognize
  84.   all CTB serial ports, including virtual ports defined with PortConnector.
  85.   All you have to do is select the right port from the pop-up menu in the
  86.   Configuration dialog, just like in ZTerm.
  87. * Fixed a bug with the dates.
  88. * Converted date translation to support international date formats. Dates will
  89.   now appear the same way they do in the Date&Time control panel.
  90.  
  91. Changes since version 1.3
  92. -------------------------
  93.  
  94. * Dialog box redesigned to avoid confusion.
  95. * Alert option removed.
  96. * Added variable serial driver support.
  97.  
  98. Changes since version 1.2
  99. -------------------------
  100.  
  101. * Fixed a few bugs: "File" menu stayed highlighted after configuring, the
  102.   baud setting always defaulted to 2400 baud, the Select Logfile button
  103.   didn't work.
  104. * Added a full VERS resource.
  105. * Changed the main GetNextEvent call to WaitNextEvent, thus making UPSMon
  106.   less CPU intensive.
  107. * Added an option to monitor normally closed relay contacts.
  108.  
  109.  
  110. Changes since version 1.1
  111. -------------------------
  112.  
  113. * Added Log file option.
  114. * Added Modem/Printer port selection.
  115. * Added "Battery Low" mode support.
  116.  
  117.  
  118. Changes since version 1.0
  119. -------------------------
  120.  
  121. * Fixed a bug that caused UPS Monitor to refuse to quit when shutting down
  122.   or restarting.
  123. * Added AppleEvent QUIT support.
  124. * Changed the menu title to "File" instead of "Monitor" to help system 6
  125.   users quit UPS Monitor automatically.
  126.  
  127.  
  128.  
  129. Comments, bug reports etc. - send email to
  130.  
  131.     Internet:    yair@tamar.cc.biu.ac.il
  132.  
  133. or
  134.  
  135.     Fax:    (Intl.)    972-3-6735203
  136.  
  137. If you need help on how to wire the cable, send me the wiring scheme of
  138. your UPS's port via e-mail or Fax.
  139.  
  140. UPS Monitor is shareware and may be freely distributed as long as no
  141. modifications are made and this text file is included. If you decide to
  142. keep it, please send a donation of $15 to:
  143.  
  144.         Yair Elharrar
  145.         71 Krinitzi st.
  146.         Ramat-Gan 52423
  147.         Israel
  148.  
  149.  
  150. Portions of this program Copyright ©1986 THINK Technologies, Inc.
  151.